package com.neusoft.acquistion.sensor.consumer.service.impl;

import com.neusoft.acquistion.sensor.consumer.entity.Admin;
import com.neusoft.acquistion.sensor.consumer.mapper.AdminMapper;
import com.neusoft.acquistion.sensor.consumer.service.IAdminService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 管理员信息表 服务实现类
 * </p>
 *
 * @author 段静迪
 * @since 2024-04-24
 */
@Service
public class AdminServiceImpl extends ServiceImpl<AdminMapper, Admin> implements IAdminService {

    @Override
    public List<Admin> findAll() {
        List<Admin> list = baseMapper.selectList(null);
        return list;
    }
}
